﻿@model IEnumerable<DLM.Domain.Model.Type>
           @using (Html.BeginForm("SearchParty", "Party", FormMethod.Post))
{
<!--OPERATE S1-->
<div class="operat_box">
    <span>操作：</span>@*<a href="#"><img src="@Url.Content("~/Content/images/admin/icon_delete.png")" alt="delete" />删除</a>*@|
    <a href="#">
        <img src="@Url.Content("~/Content/images/admin/icon_search.png")" alt="export" />
        <input type="submit" class="btn_search" value="" />
        </a>
</div>
<!--OPERATE E1-->
<!--OPERATE S2-->
<div class="operat_box">
    <div class="operate_div">
    </div>
</div>

    <table class="form_tb">
        <tr>
            <th>
                <span>*</span>活动ID
            </th>
            <td>
                <input class="text" type="text" name="txtID" />
            </td>
            <th>
                <span>*</span>发起者
            </th>
            <td>
                <input class="text" type="text" name="txtPublisher" />
            </td>
            <th>
                <span>*</span>活动类型
            </th>
            <td>
                @{ List<SelectListItem> list = new List<SelectListItem>();
                   foreach (var item in Model)
                   {
                       list.Add(new SelectListItem { Text = item.Name, Value = item.PartyType.ToString() });

                   }
                }
                @Html.DropDownList("ddlPartyType", list, new { @class = "select" })
            </td>
        </tr>
    </table>
}
